package org.finesys.system.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.finesys.common.mp.core.base.BaseEntity;

@Data
@EqualsAndHashCode(callSuper = true)
public class SysPost extends BaseEntity {

    // 岗位ID
    @TableId(value = "post_id", type = IdType.ASSIGN_ID)
    private Long postId;

    // 岗位代码
    private String postCode;

    // 岗位名称
    private String postName;

    private Integer sortOrder;

    /**
     * 0-正常，1-删除
     */
    @TableLogic
    private String delFlag;

    private String remarks;

}
